package com.code.family.mapper;

import com.code.family.entity.pojo.Accounts;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

public interface AccountsMapper extends BaseMapper<Accounts> {

    // 新增账户
    int addAccount(Accounts accounts);

    //删除
    int deleteAccount(int id);
    //修改
    int update(Accounts accounts);
}